package com.wltjack.sysmanage.common;

import com.wltjack.sysmanage.common.enums.DataSourceTypeEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @InterfaceName DataSourceSwitch
 * @Description 数据源切换
 * @Author kangliang
 * @Date 2021/03/01 16:34
 * @Version 1.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface DataSourceSwitch {
    DataSourceTypeEnum value() default DataSourceTypeEnum.DB1;
}
